.TH E1432_SET_RANGE_MIKE 3 E1432
.SH NAME
.nf
e1432_set_range_mike \- Set microphone range of E1432
e1432_get_range_mike \- Get current microphone range of E1432
.fi
.IX e1432_set_range_mike(3) 3
.IX e1432_get_range_mike(3) 3
.SH SYNOPSIS
.cS
SHORTSIZ16 e1432_set_range_mike(E1432ID hw, SHORTSIZ16 ID,
                                FLOATSIZ32 range_mike)
SHORTSIZ16 e1432_get_range_mike(E1432ID hw, SHORTSIZ16 ID,
                                FLOATSIZ32 *range_mike)
.cE
.SH DESCRIPTION
\fIe1432_set_range_mike\fR sets the microphone range, of a single
channel or group of channels \fIID\fR, to the value given in
\fIrange_mike\fR.

\fIe1432_get_range_mike\fR returns the current value of the microphone
range, of a single channel or group of channels \fIID\fR, into a
memory location pointed to by \fIrange_mike\fR.

\fIhw\fR must be the result of a successful call to
\fIe1432_assign_channel_numbers\fR, and specifies the group of
hardware to talk to.

\fIID\fR is either the ID of a group of channels that was obtained with a
call to \fIe1432_create_channel_group\fR, or the ID of a single channel.

\fIrange_mike\fR is the full scale microphone range in volts.  Signal
inputs whose absolute value is larger than full scale will generate an
ADC overflow error.  (Actually, there is several dB of overhead before
the ADC will overflow, to avoid spurious overflow indications.)

The actual microphone range that is set will be the nearest legal
range_mike value that is greater than or equal to the value specified
by the \fIrange_mike\fR parameter.

The \fIrange_mike\fR parameter applies only to input channels, and is
used only when the input mode is \fBE1432_INPUT_MODE_MIC\fR or
\fBE1432_INPUT_MODE_MIC_200V\fR (see \fIe1432_set_input_mode\fR).
This is only possible when a Microphone Break-out Box is connected to
the input.
.SH "RESET VALUE"
After a reset, the charge-amp range is set to 10 volts.
.SH "RETURN VALUE"
Return 0 if successful, a (negative) error number otherwise.
.SH "SEE ALSO"
.na
e1432_set_input_mode, e1432_set_range, e1432_set_range_charge,
e1432_get_range_mike_limits, e1432_bob
.ad
